import {
    createRouter,
    createWebHashHistory
} from 'vue-router'
// import { createRouter, createWebHashHistory  } from './grouter.js'
import Login from '../components/Login.vue'
import home from '../pages/home.vue'
import about from '../pages/about.vue'

const routes = [
    {
        path: '/',
        name: 'login',
        component: Login
    },
    // {
    //     path: '/',
    //     name: 'home',
    //     component: home
    // },
    // {
    //     path: '/about',
    //     name: 'about',
    //     component: about
    // }
]

const router = createRouter({
    history:createWebHashHistory(),
    routes
})

export default router